package cn.ddy.interceptor;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @author ddy
 * @create 2020-08-19 00:02:17
 */
@Controller
public class testController {

    @RequestMapping("hello2")
    public String hello(Map<String,String> map) {
        System.out.println("======hello2========");
        map.put("msg","hello2");
        return "ok";
    }

}
